home *** CD-ROM | disk | FTP | other *** search
/ Gamers Delight 2 / Gamers Delight 2.iso / Aminet / game / misc / TownMaze.lha / TownMaze / src.lzh / townmaze.lmk < prev    next >
Text File  |  1991-08-04  |  4KB  |  195 lines

  1. # townmake.lmk  Copyright 1991 by Kent Paul Dolan,
  2. #                                 Mountain View, CA, USA, 94039-0755
  3. #               May be freely used in any non-commercial venture.
  4. #               Copyrighted only to prevent patenting of the ideas
  5. #               contained herein by others.
  6. #
  7. # BSD 4.3 Unix make file for use with "make -f townmaze.lmk" command
  8. # Amiga Lattice C 5.05 make file for use with "lmk -f townmzae.lmk" command;
  9. # (after minor edits) -- needs townmaze.with for blink command.
  10. #
  11. # C files:
  12. #
  13. # cleanupmap.c
  14. # closedoors.c
  15. # closegates.c
  16. # connectst.c
  17. # filllist.c
  18. # fillmaze.c
  19. # finishalleys.c
  20. # freespace.c
  21. # getargs.c
  22. # interiorcell.c
  23. # makecourts.c
  24. # makegates.c
  25. # makestreet.c
  26. # makespace.c
  27. # makeunused.c
  28. # movefromto.c
  29. # nhbrexists.c
  30. # nhbris.c
  31. # showdbmaze.c
  32. # showlistdet.c
  33. # showlistsum.c
  34. # showmaze.c
  35. # townmain.c
  36. # usage.c
  37. #
  38. # townmaze.h
  39. # townproto.h
  40. #
  41. # pick a compile command
  42. #
  43. # Amiga Lattice C 5.05:
  44. #
  45. CC =            lc -dRAND48
  46. #
  47. # or BSD 4.3 Unix oldstyle cc:
  48. #
  49. #CC =            cc -c
  50. #
  51. # The link command is too complex to just define up here; it will need
  52. # changes in the body of the makefile where "townmaze" is created.
  53. #
  54.  
  55. HEADERS =        townmaze.h \
  56.             townproto.h
  57.  
  58. SOURCES =        cleanupmap.c \
  59.             closedoors.c \
  60.             closegates.c \
  61.             connectst.c \
  62.             filllist.c \
  63.             fillmaze.c \
  64.             finishalleys.c \
  65.             freespace.c \
  66.             getargs.c \
  67.             interiorcell.c \
  68.             makecourts.c \
  69.             makegates.c \
  70.             makestreet.c \
  71.             makespace.c \
  72.                         makeunused.c \
  73.             movefromto.c \
  74.             nhbrexists.c \
  75.             nhbris.c \
  76.             showdbmaze.c \
  77.             showlistdet.c \
  78.             showlistsum.c \
  79.             showmaze.c \
  80.             townmain.c \
  81.                         usage.c
  82.  
  83. OBJECTS =        cleanupmap.o \
  84.             closedoors.o \
  85.             closegates.o \
  86.             connectst.o \
  87.             filllist.o \
  88.             fillmaze.o \
  89.             finishalleys.o \
  90.             freespace.o \
  91.             getargs.o \
  92.             interiorcell.o \
  93.             makegates.o \
  94.             makecourts.o \
  95.             makespace.o \
  96.             makestreet.o \
  97.                         makeunused.o \
  98.             movefromto.o \
  99.             nhbrexists.o \
  100.             nhbris.o \
  101.             showdbmaze.o \
  102.             showlistdet.o \
  103.             showlistsum.o \
  104.             showmaze.o \
  105.             townmain.o \
  106.             usage.o
  107.  
  108. #
  109. # Pick a link command
  110. #
  111. # Amiga Lattice C 5.05:
  112. #
  113.  
  114. townmaze:        $(OBJECTS)
  115.             blink with townmaze.with
  116.  
  117. #
  118. # or BSD 4.3 Unix old style cc:
  119. #
  120.  
  121. #townmaze:        $(OBJECTS)
  122. #            cc -o townmaze ${OBJECTS}
  123.  
  124. cleanupmap.o:        $(HEADERS) cleanupmap.c
  125.             $(CC) cleanupmap.c
  126.  
  127. closedoors.o:        $(HEADERS) closedoors.c
  128.             $(CC) closedoors.c
  129.  
  130. closegates.o:        $(HEADERS) closegates.c
  131.             $(CC) closegates.c
  132.  
  133. connectst.o:        $(HEADERS) connectst.c
  134.             $(CC) connectst.c
  135.  
  136. filllist.o:        $(HEADERS) filllist.c
  137.             $(CC) filllist.c
  138.  
  139. fillmaze.o:        $(HEADERS) fillmaze.c
  140.             $(CC) fillmaze.c
  141.  
  142. finishalleys.o:        $(HEADERS) finishalleys.c
  143.             $(CC) finishalleys.c
  144.  
  145. freespace.o:        $(HEADERS) freespace.c
  146.             $(CC) freespace.c
  147.  
  148. getargs.o:        $(HEADERS) getargs.c
  149.             $(CC) getargs.c
  150.  
  151. interiorcell.o:        $(HEADERS) interiorcell.c
  152.             $(CC) interiorcell.c
  153.  
  154. makecourts.o:        $(HEADERS) makecourts.c
  155.             $(CC) makecourts.c
  156.  
  157. makegates.o:        $(HEADERS) makegates.c
  158.             $(CC) makegates.c
  159.  
  160. makespace.o:        $(HEADERS) makespace.c
  161.             $(CC) makespace.c
  162.  
  163. makestreet.o:        $(HEADERS) makestreet.c
  164.             $(CC) makestreet.c
  165.  
  166. makeunused.o:        $(HEADERS) makeunused.c
  167.             $(CC) makeunused.c
  168.  
  169. movefromto.o:        $(HEADERS) movefromto.c
  170.             $(CC) movefromto.c
  171.  
  172. nhbrexists.o:        $(HEADERS) nhbrexists.c
  173.             $(CC) nhbrexists.c
  174.  
  175. nhbris.o:        $(HEADERS) nhbris.c
  176.             $(CC) nhbris.c
  177.  
  178. showdbmaze.o:        $(HEADERS) showdbmaze.c
  179.             $(CC) showdbmaze.c
  180.  
  181. showlistdet.o:        $(HEADERS) showlistdet.c
  182.             $(CC) showlistdet.c
  183.  
  184. showlistsum.o:        $(HEADERS) showlistsum.c
  185.             $(CC) showlistsum.c
  186.  
  187. showmaze.o:        $(HEADERS) showmaze.c
  188.             $(CC) showmaze.c
  189.  
  190. townmain.o:        $(HEADERS) townmain.c
  191.             $(CC) townmain.c
  192.  
  193. usage.o:        $(HEADERS) usage.c
  194.             $(CC) usage.c
  195.